home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / os2 / adaptor.zip / ADAPT.ZIP / adaptor / src / include / xglobal.h < prev    next >
C/C++ Source or Header  |  1993-11-17  |  2KB  |  74 lines

  1. #include <stdio.h>
  2.  
  3. /** Standard Toolkit include files: */
  4.  
  5. #include <X11/IntrinsicP.h>
  6. #include <X11/StringDefs.h>
  7.  
  8. /* * Public include files for widgets used in this file.  */
  9.  
  10. #include <X11/Xaw/Command.h>
  11. #include <X11/Xaw/Box.h>
  12. #include <X11/Xaw/Dialog.h>
  13. #include <X11/Xaw/List.h>
  14. #include <X11/Xaw/MenuButton.h>
  15. #include <X11/Xaw/SimpleMenu.h>
  16. #include <X11/Xaw/SmeBSB.h>
  17. #include <X11/Xaw/SmeLine.h>
  18. #include <X11/CoreP.h>
  19. #include <X11/Xaw/TextP.h>
  20. #include <X11/Xaw/Viewport.h>
  21. #include <X11/Xaw/Paned.h>
  22. #define ASCII_DISK
  23. #include <X11/Xaw/AsciiText.h>
  24.  
  25. /***************************************************************************
  26. *                                                                          *
  27. *  Global Variables : Widget                                               *
  28. *                                                                          *
  29. ***************************************************************************/
  30.  
  31. #include "Tree.h"
  32. #include "Definitions.h"
  33.  
  34. static char current_dir  [100];
  35. static char selected_file [100];
  36.  
  37. #define MyTextWidth  550
  38. #define MyTextHeight 450
  39. #define MyUnitWidth  300
  40. #define MyUnitHeight 150
  41. #define MyVarWidth   250
  42. #define MyVarHeight  150
  43.  
  44. /* The following widget are used global : */
  45.  
  46. static 
  47. Widget topLevel, filelabel, message_widget, mytext, vp_mytext, units, vars; 
  48.  
  49. static 
  50. Widget gmdBitmap;
  51. static 
  52. Pixmap gmdPixmap;
  53.  
  54. /* global access to items of units or vars widget */
  55.  
  56. #define MaxUnitItems 256
  57. static 
  58. String UnitItems [MaxUnitItems];
  59. static int UnitCount;
  60. static
  61. tTree UnitTree;             /* abstract syntax tree for selected unit */
  62. static 
  63. tObject UnitDecl;           /* declaration object for selected unit */
  64. static 
  65. tEntries UnitDeclarations;  /* declared items for the selected unit */
  66.  
  67. #define MaxVarItems 512
  68. static 
  69. String VarItems [MaxVarItems];
  70. static 
  71. int VarCount;
  72.  
  73. void set_filelabel ();
  74.